export default {
  setState(state: any, { key, payload }) {
    state[key] = payload;
  },
};
